package com.ityedao.IO字节流.资源释放;

public class MyConnection implements AutoCloseable{
    @Override
    public void close() throws Exception {
        System.out.println("释放了与某个硬件链接的资源~");
    }
}
